
ADD_DEFINITIONS(-DBMDOCUMENT_LIBRARY)


SET(LIB_NAME bmDocument)

SET(HEADER_PATH ${BLUEMOON_SOURCE_DIR}/include/${LIB_NAME})
SET(SOURCE_PATH ${BLUEMOON_SOURCE_DIR}/src/${LIB_NAME})



SET(LIB_PUBLIC_HEADERS
  ${HEADER_PATH}/export.h
  ${HEADER_PATH}/bmDocument.h
  ${HEADER_PATH}/Element.h
  ${HEADER_PATH}/Group.h
  ${HEADER_PATH}/Scene.h
  ${HEADER_PATH}/Transform.h
  ${HEADER_PATH}/Head.h
  ${HEADER_PATH}/Box.h
  ${HEADER_PATH}/Model.h
  ${HEADER_PATH}/RectShape.h
  ${HEADER_PATH}/SphereShape.h
)

SET( LIB_SOURCES
  ${SOURCE_PATH}/CMakeLists.txt
  ${SOURCE_PATH}/bmDocument.cpp
  ${SOURCE_PATH}/Element.cpp
  ${SOURCE_PATH}/Group.cpp
  ${SOURCE_PATH}/Scene.cpp
  ${SOURCE_PATH}/Transform.cpp
  ${SOURCE_PATH}/Head.cpp
  ${SOURCE_PATH}/Box.cpp
  ${SOURCE_PATH}/Model.cpp
  ${SOURCE_PATH}/RectShape.cpp
  ${SOURCE_PATH}/SphereShape.cpp
)

#SET(LIB_INTERNALS
#  DataDB
#  Net
#  )

SET(LIB_DEPS
  #TINYXML_LIBRARY
  OPENTHREADS_LIBRARY
  OSGTEXT_LIBRARY
  )


BLUEMOON_ADD_LIBRARY(${LIB_NAME})
